//
//  LYQMineAboutUsViewController.m
//  ZCProject
//
//  Created by Zheng on 16/11/18.
//  Copyright © 2016年 Zheng. All rights reserved.
//

#import "LYQMineAboutUsViewController.h"

@interface LYQMineAboutUsViewController ()

@property (nonatomic, strong) UIImageView *bgImgv;

@end

@implementation LYQMineAboutUsViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = [UIColor whiteColor];
    
    self.navigationItem.title = @"关于我们";
    
    [self.view addSubview:self.bgImgv];
    
    self.bgImgv.backgroundColor = [UIColor orangeColor];
    
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    
    [_bgImgv mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.right.bottom.equalTo(self.view);
    }];
    
}


- (UIImageView *)bgImgv {
    if (!_bgImgv) {
        _bgImgv = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@""]];
    }
    return _bgImgv;
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
